package com.lindainvest.util;

import org.apache.log4j.Logger;

public class SystemRuntimeException extends RuntimeException {
	static Logger logger = Logger.getLogger(SystemRuntimeException.class);
	
	private static final long serialVersionUID = -6844434066482832014L;
	
	public SystemRuntimeException(Exception e){
		super(e);
		logger.error(e);
	}

	public SystemRuntimeException(String errorMsg) {
		logger.error(errorMsg);
	}

}
